package com.cloud.system.api.service;

import com.cloud.system.api.bean.LoginHumanSuggest;
import com.cloud.system.api.entity.SysResources;
import com.cloud.system.common.result.QkTreeNode;

import java.util.List;

public interface ResourcesService {

	QkTreeNode[] listResourcesTree();

	QkTreeNode[] listResourcesBySysId(long sysId);

	Long addResource(SysResources resources);

	String deleteResource(long id);

	String saveUpdateResource(SysResources sysInfo);

	SysResources loadResource(long id);

	SysResources showEditResourceDetail(long id, long resId);

	List<SysResources> listResourcesBySysAndHuman(long sysId, long humanID);

//    List<LoginHumanSuggest> searchHumanName(String value);

	List<LoginHumanSuggest> searchHumanName(String value,String code);
}
